.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px 7px 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

/* ------------------
 style glowne
   ------------------   */


body { margin:0; padding:0; width:100%; background:#f3f3f3; text-align: left; }

html { padding:0; margin:0; }

/* main */
.main { width:100%; padding:0; margin:0 auto; }

/********** header **********/
.header { background:#d8d8d8; padding:0; margin:0 auto; border-bottom:1px solid #fff; }

.block_header { margin:0 auto; width:980px; padding:0; border:none; }

/* logo */
.logo { float:left; padding:0; margin:0; width:303px; }

/* menu */
.menu_resize { width:286px; background:url(/images/menu_bg.gif) top no-repeat; padding:0; margin:27px 0 0 0; float:right; }
.menu { float:left; padding:0; margin:0; }
.menu ul { text-align: left; padding:0; margin:0; list-style:none; border:0; float:left; }
.menu ul li { float:left; margin:0; padding:0 5px; border:0; }
.menu ul li a { float:left; margin:0; padding:13px 0; color:#777; font:normal 12px Arial, Helvetica, sans-serif; text-decoration:none; }
.menu ul li a span { padding:13px 9px; background:none; }
.menu ul li a:hover { color:#fefefe; background: url(/images/r_menu.gif) no-repeat right; }
.menu ul li a:hover span { color:#fefefe; background:url(/images/l_menu.gif) no-repeat left; }
.menu ul li a.active { color:#fefefe; background:url(/images/r_menu.gif) no-repeat right; }
.menu ul li a.active span { color:#fefefe; background:url(/images/l_menu.gif) no-repeat left; }

.FBG { padding:10px 0; width:980px; margin:0 auto; }

/********** block index **********/

.body { margin:0; padding:0 0 20px 0; }
.body_resize { width:978px; margin:0 auto; padding:0; background: #fff; border:1px solid #e8e6e6; }
.body_resize h2 { font:normal 20px Tahoma; color:#3a3a3a; padding:5px 5px 15px 15px; margin:0; }
.body_resize h2 span { font: normal 11px Tahoma, sans-serif; color:#8f8f8f; }
.body_resize p { font:normal 12px Tahoma; color:#565656; padding:5px 15px; margin:0; line-height:1.6em; }
.body_resize a { color:#339; text-decoration:none; font: normal 12px Tahoma; }
.body_resize a:hover { color:#339; text-decoration:underline; font: normal 12px Tahoma; }
.FBG { padding:10px 0; width:980px; margin:0 auto; }
.FBG h2.rec { font: normal 20px Tahoma; color:#6d6d6d; padding:10px 10px 10px 10px; margin:0; }
.FBG h2.rec span { font: bold 13px Tahoma; color:#6d6d6d; float:right; }

/********** contact form **********/
.form { float:center; width:550px; margin:5px auto; padding:20px 0 0 0; background:#f7faf9; border:1px solid #e8e6e6; }

/********** contact form **********/
#contactform { margin:0; padding:5px 10px; }
#contactform * { color:#7a7a7a; }
#contactform ol { margin:0; padding:0; list-style:none; }
#contactform li { margin:0; padding:0; background:none; border:none; display:block; }
#contactform li.buttons { margin:5px 0 5px 0; }
#contactform label { float:left; margin:0; width:100px; padding:5px 0; font:bold 12px Tahoma; color:#2b2b2b; text-transform:capitalize; }
#contactform label span { font:normal 10px Tahoma; }
#contactform input.text { width:420px; border:1px solid #ececec; margin:5px 0; padding:5px 2px; height:15px; background:#fff; }
#contactform textarea { width:420px; border:1px solid #ececec; margin:10px 0; padding:2px; background:#fff; height:150px; }
#contactform li.buttons input { padding:3px 0; margin:0 0 0 100px; border:0; color:#FFF; }
p.response { text-align:center; color:#2c2c2c; font:bold 11px Arial, Helvetica, sans-serif; line-height:1.8em; width:auto; }

p.clr,
.clr { clear:both; padding:0; margin:0; background:none; }

/* ------------------
 style dla tabeli
   ------------------   */


body
{
  line-height: 1.6em;
}

#box-table-a
{
  font-family: Tahoma;
  font-size: 12px;
  margin: 40px;
  width: 900px;
  text-align: left;

}
#box-table-a th
{
  font-size: 12px;
  font-family: Tahoma;
  font-weight: normal;
  padding: 8px;
  background: #71c8ff;
  border-top: 4px solid #2087de;
  border-bottom: 1px solid #71c8ff;
  color: #339;
}
#box-table-a td
{
  font-family: Tahoma;
  font-size: 12px;
  padding: 8px;
  background: #cceaff;
  border-bottom: 1px solid #fff;
  color: #339;
  border-top: 1px solid transparent;
}
#box-table-a tr:hover td
{
  background: #a4dbff;
  color: #339;
}


.vcard .bd {
  overflow: scroll;
}

table.grid {
  border: 1px dashed gray;
  border-spacing: 2px;
  border-collapse: collapse;
  background-color: transparent;
  table-layout: fixed;
}

table.grid td {
  border: 1px dashed gray;
  background-color: transparent;
  vertical-align: middle;
}

div.cell {
  border: 1px solid #666666;
  overflow: hidden;
  margin: auto;
}

#vcard_c {
  width:978px; margin:0 auto; padding:0; background: #fff; border:1px solid #e8e6e6;
  position: static;
}

.messages {
  color: blue;
}